package com.atguigu.dao;

import com.atguigu.base.BaseDao;
import com.atguigu.entity.AdminRole;

import java.util.List;

/**
 * @author:ahang
 * @create:2022-07-30 10:06
 * @Description:
 */
public interface AdminRoleDao extends BaseDao<AdminRole> {

    List<Long> findRoleIdsByAdminId(Long id);

    void deleteByAdminId(Long adminId);
}
